home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / admin / fsindex.man < prev    next >
Encoding:
Text File  |  1990-03-10  |  1.9 KB  |  55 lines

  1. '\" Copyright 1989 Regents of the University of California
  2. '\" Permission to use, copy, modify, and distribute this
  3. '\" documentation for any purpose and without fee is hereby
  4. '\" granted, provided that this notice appears in all copies.
  5. '\" The University of California makes no representations about
  6. '\" the suitability of this material for any purpose.  It is
  7. '\" provided "as is" without express or implied warranty.
  8. '\" 
  9. '\" $Header: /sprite/src/admin/fsindex/RCS/fsindex.man,v 1.1 90/03/09 17:32:07 brent Exp $ SPRITE (Berkeley)
  10. '/" 
  11. .so \*(]ltmac.sprite
  12. .HS FSINDEX cmds
  13. .BS
  14. '\" Note:  do not modify the .SH NAME line immediately below!
  15. .SH NAME
  16. fsindex \- Print the block index map for a file.
  17. .SH SYNOPSIS
  18. \fBfsindex\fR -\fBdev \fIdevice -\fBpart \fIpartition \fIfile1 file2 ...\fR
  19. .br
  20. \fBfsindex\fR -\fBdev \fIdevice -\fBpart \fIpartition -\fBinum \fInum1 num2 ...\fR
  21. .SH OPTIONS
  22. .IP "\fB\-dev \fIdevice\fR" 15
  23. The name of the device file one which the files live.
  24. Typical names are ``rsd00'' (SCSI hba 0 target 0) and ``rxy0'' (Xylogics
  25. controller 0).
  26. For SCSI disks,
  27. the two digits represent the HBA index and the target ID, respectively.
  28. .IP "\fB\-part \fIpartition\fR" 15
  29. Where partition is one of `a', `b', ... up to `h'.
  30. The device and partition are concatinated to create the complete
  31. device name, i.e. ``rxy0g''.
  32. .IP "\fB\-inum\fR" 15
  33. This option causes the remaining arguments to be interpreted
  34. as inode numbers instead of file names.
  35. .BE
  36.  
  37. .SH DESCRIPTION
  38. .PP
  39. This dumps out the block indexes of a file.
  40. It is meant as a simple tool for examining the layout of a file on disk.
  41. You can consult a server's mount table (/hosts/\fIhostname\fP/mount)
  42. to determine the device that corresponds to a particular file system.
  43. .SH EXAMPLES
  44. .PP
  45. .DS
  46. fsindex -dev rxy0 -part g file1 dir/file2 file3
  47. fsindex -dev rsd00 -part c -inum 53900 4681
  48. .DE
  49. .SH BUGS
  50. .PP
  51. The syntax for specifying the device is baroque.
  52. .SH KEYWORDS
  53. block layout, disk, file
  54.  
  55.